/*
 * All content copyright http://www.j2eefast.com, unless 
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.j2eefast.produce.pms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.j2eefast.produce.pms.entity.PmsChargeStandardListEntity;
import com.j2eefast.produce.pms.entity.PmsConfigureListEntity;
import com.j2eefast.produce.pms.entity.PmsTemplateEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>模板管理</p>
 *
 * @author: summer
 * @date: 2021-05-29 16:47
 * @web: http://www.letukeji.cn
 * @version: 1.0.1
 */
public interface PmsConfigureListMapper extends BaseMapper<PmsConfigureListEntity> {

	public boolean deleteByIds(@Param("ids") Long[] ids);
	public boolean updateCheck(@Param("id") Long id, @Param("userId") Long userId);
	public PmsConfigureListEntity selectSerial(@Param("id") Long id);

	/**
	 * 根据分类查询项目列表
	 * @return
	 */
	public List<PmsConfigureListEntity> getConfigureList(@Param("standardName")String standardName);

	/**
	 * 页面查询流程实例分页
	 * @return
	 */
	Page<PmsConfigureListEntity> findPage(IPage<?> params,
                                         @Param("configureCode") String configureCode,
                                         @Param("configureCode2") String configureCode2,
										  @Param("configureName") String configureName,
										  @Param("configureName2") String configureName2,
										  @Param("specifications1") String specifications1,
										  @Param("specifications2") String specifications2,
										  @Param("beginTime") String beginTime,
										  @Param("endTime") String endTime,
                                     @Param("sql_filter") String sql_filter);

	//查询列表
	public PmsConfigureListEntity selectConfigureList();

}
